package com.ossjk.oa.finance.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableField;
import com.ossjk.core.base.entity.BaseEntity;

/**
 * 薪酬表
 * 
 * @Author chair
 * @Version 1.0, 2019-09-22
 * @See
 * @Since com.ossjk.oa.finance.finance.entity
 * @Description: TODO
 */
public class Salary extends BaseEntity<Salary> {

	private static final long serialVersionUID = 1L;

	/**
	 * 员工id
	 */
	@TableField("eid")
	private String eid;
	/**
	 * 年
	 */
	@TableField("year")
	private String year;
	/**
	 * 部门id
	 */
	@TableField("did")
	private String did;
	/**
	 * 月
	 */
	@TableField("month")
	private String month;
	/**
	 * 薪酬表达式
	 */
	@TableField("expression")
	private String expression;
	/**
	 * 薪酬公式
	 */
	@TableField("formula")
	private String formula;
	/**
	 * 详情
	 */
	@TableField("details")
	private String details;
	/**
	 * 工资
	 */
	@TableField("salary")
	private BigDecimal salary;
	/**
	 * 最终公式
	 */
	@TableField("finalformula")
	private String finalformula;

	public String getEid() {
		return eid;
	}

	public void setEid(String eid) {
		this.eid = eid;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public BigDecimal getSalary() {
		return salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

	public String getFinalformula() {
		return finalformula;
	}

	public void setFinalformula(String finalformula) {
		this.finalformula = finalformula;
	}

	@Override
	public String toString() {
		return "Salary [eid=" + eid + ", year=" + year + ", did=" + did + ", month=" + month + ", expression=" + expression + ", formula=" + formula + ", details=" + details + ", salary=" + salary + ", finalformula=" + finalformula + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return this.id;
	}

}
